#include "main.h"
#include <stdio.h>
#include <iostream>
#include <string>
using namespace std;
/* define the person struct here using the typedef syntax */
typedef struct {
    string name;
    int age;
} person;
int main() {
 

    person john;
    
    /* testing code */
    john.name = "John";
    john.age = 27;
    cout << "学生1: " << john.name << ", 年龄为: " << john.age << endl;
    printf("%s is %d years old.", john.name.c_str(), john.age);
}